package com.bdmc.task.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;


/**
 * 排班计划对象 task_work_plan
 *
 * @author bdmc
 * @date 2022-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("task_work_plan")
public class TaskWorkPlan extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 排班计划id
     */
    @TableId(value = "work_plan_id")
    private Long workPlanId;
    /**
     * 排班计划名称
     */
    private String workPlanName;

    /**
     * 班组类型，1=人员排班，2=车辆排班
     */
    private String workPlanType;
    /**
     * 车辆排班时，车辆id
     */
    private Long carId;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 网格id
     */
    private Long fenceId;
    /**
     * 报警规则id
     */
    private Long alarmRuleId;
    /**
     * 工作对象id
     */
    private Long personId;
    /**
     * 计划日期
     */
    private String planMonth;
    /**
     * 备注
     */
    private String remark;


}
